Skip to content

Fix: Restore black screen when video ends and endscreen is hidden (#3838)#3841

Merged
ImprovedTube2 merged 2 commits into
code-charity:masterfrom
SaishWadnere:fix-black-screen-endscreen
May 29, 2026
Merged

Fix: Restore black screen when video ends and endscreen is hidden (#3838)#3841
ImprovedTube2 merged 2 commits into
code-charity:masterfrom
SaishWadnere:fix-black-screen-endscreen

Conversation

@SaishWadnere

Copy link
Copy Markdown
Contributor

Fixes #3838

Changes Made

Added a CSS rule in appearance/player/player.css to apply visibility: hidden !important; to .html5-main-video when the player receives the .ended-mode class and it-player-hide-endscreen is true.

Testing

Turn on the "Hide endscreen" option in ImprovedTube settings.
Watch a video to the very end.
If Autoplay is enabled, press Escape to cancel the "Up Next" countdown.
Verify that the player background is completely black rather than frozen on the last frame.

@ImprovedTube2 ImprovedTube2 merged commit 9e652f2 into code-charity:master May 29, 2026
@ImprovedTube2

Copy link
Copy Markdown
Collaborator

thank you @SaishWadnere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞End of video black screen problem

2 participants